package com.rose.datax.dataxadmin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rose.datax.dataxadmin.entity.MigrationTable;
import com.rose.datax.dataxadmin.entity.MigrationTableStatus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MigrationTableMapper extends BaseMapper<MigrationTable> {
     public void addBatch(List<MigrationTable> tables);

     public Page<MigrationTableStatus> queryMigration(Page<MigrationTableStatus> page,@Param("taskId") long taskId);

}
